/**
 * Jaxson ajax
 *
 * Copyright Remedy Interactive, licensed under Apache version 2 license:
 *
 *  http://www.apache.org/licenses/LICENSE-2.0.html
 *
 * This notice must remain in all java source files.
 */
package org.jaxson.struts.charts;

import java.awt.Color;
import java.awt.Font;
import java.util.Locale;

/**
 * Baseline properties for chart format.
 * 
 * @author Joe Maisel
 *
 */
public class ChartFormat
{
	private String title;
	private String imageId;
	private Locale locale;
	private Font labelFont, titleFont;
	private String imageMapUrl = "";
	private String imageMapId = "#null";
	private String toolTipFormat = "";
	private Color backgroundColor = Color.WHITE;
	private int width = 250, height = 250;
	private boolean showLegend, showTooltips, showUrls, expandTitle = true, showTitle = true;
	
	/**
	 * @return the expandTitle
	 */
	public boolean isExpandTitle()
	{
		return expandTitle;
	}
	/**
	 * @param expandTitle the expandTitle to set
	 */
	public void setExpandTitle( boolean expandTitle )
	{
		this.expandTitle = expandTitle;
	}
	/**
	 * @return the titleFont
	 */
	public Font getTitleFont()
	{
		return titleFont;
	}
	/**
	 * @param titleFont the titleFont to set
	 */
	public void setTitleFont( Font titleFont )
	{
		this.titleFont = titleFont;
	}
	/**
	 * @return the toolTipFormat
	 */
	public String getToolTipFormat()
	{
		return toolTipFormat;
	}
	/**
	 * @param toolTipFormat the toolTipFormat to set
	 */
	public void setToolTipFormat( String toolTipFormat )
	{
		this.toolTipFormat = toolTipFormat;
	}
	/**
	 * @return the title
	 */
	public String getTitle()
	{
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle( String title )
	{
		this.title = title;
	}
	/**
	 * @return the showLegend
	 */
	public boolean isShowLegend()
	{
		return showLegend;
	}
	/**
	 * @param showLegend the showLegend to set
	 */
	public void setShowLegend( boolean showLegend )
	{
		this.showLegend = showLegend;
	}
	/**
	 * @return the showTooltips
	 */
	public boolean isShowTooltips()
	{
		return showTooltips;
	}
	/**
	 * @param showTooltips the showTooltips to set
	 */
	public void setShowTooltips( boolean showTooltips )
	{
		this.showTooltips = showTooltips;
	}
	/**
	 * @return the showUrls
	 */
	public boolean isShowUrls()
	{
		return showUrls;
	}
	/**
	 * @param showUrls the showUrls to set
	 */
	public void setShowUrls( boolean showUrls )
	{
		this.showUrls = showUrls;
	}
	/**
	 * @return the showTitle
	 */
	public boolean isShowTitle()
	{
		return showTitle;
	}
	/**
	 * @param showTitle the showTitle to set
	 */
	public void setShowTitle( boolean showTitle )
	{
		this.showTitle = showTitle;
	}
	/**
	 * @return the locale
	 */
	public Locale getLocale()
	{
		return locale;
	}
	/**
	 * @param locale the locale to set
	 */
	public void setLocale( Locale locale )
	{
		this.locale = locale;
	}
	/**
	 * @return the backgroundColor
	 */
	public Color getBackgroundColor()
	{
		return backgroundColor;
	}
	/**
	 * @param backgroundColor the backgroundColor to set
	 */
	public void setBackgroundColor( Color backgroundColor )
	{
		this.backgroundColor = backgroundColor;
	}
	/**
	 * @return the labelFont
	 */
	public Font getLabelFont()
	{
		return labelFont;
	}
	/**
	 * @param labelFont the labelFont to set
	 */
	public void setLabelFont( Font labelFont )
	{
		this.labelFont = labelFont;
	}
	/**
	 * @return the width
	 */
	public int getWidth()
	{
		return width;
	}
	/**
	 * @param width the width to set
	 */
	public void setWidth( int width )
	{
		this.width = width;
	}
	/**
	 * @return the height
	 */
	public int getHeight()
	{
		return height;
	}
	/**
	 * @param height the height to set
	 */
	public void setHeight( int height )
	{
		this.height = height;
	}
	/**
	 * @return the imageMapUrl
	 */
	public String getImageMapUrl()
	{
		return imageMapUrl;
	}
	/**
	 * @param imageMapUrl the imageMapUrl to set
	 */
	public void setImageMapUrl( String imageMapUrl )
	{
		this.imageMapUrl = imageMapUrl;
	}
	/**
	 * @return the imageMapId
	 */
	public String getImageMapId()
	{
		return imageMapId;
	}
	/**
	 * @param imageMapId the imageMapId to set
	 */
	public void setImageMapId( String imageMapId )
	{
		this.imageMapId = imageMapId;
	}
	/**
	 * @return the imageId
	 */
	public String getImageId()
	{
		return imageId;
	}
	/**
	 * @param imageId the imageId to set
	 */
	public void setImageId( String imageId )
	{
		this.imageId = imageId;
	}
}
